Fast search algorithms for the n-queens problem
نویسندگان
چکیده
The n-queens problem is a classical search problem in the artiicial intelligence (AI) area. In recent years, this problem has found many useful, practical applications including 2-dimensional VLSI routing and testing, maximum full range communication, and parallel optical computing. In this paper we present two new algorithms, called Queen Search 2 (QS2) and Queen Search 3 (QS3). QS2 and QS3 are probabilistic local search algorithms, based on a gradient-based heuristic. These algorithms, running in almost linear time, are capable of nding a solution for extremely large size n-queens problems. For example, QS3 can nd a solution for 500,000 queens in approximately one and a half minutes.
منابع مشابه
A Parallel Search Algorithm for the N-Queens Problem
The N-queens problem is to place n queens on an n n chessboard such that no two queens attack each other. This problem is commonly used as a benchmark for algorithms that solve constraint satisfaction problems (CSP). This paper describes a novel parallel algorithm for the N-queens problem. The algorithm nds a solution by performing a probabilistic parallel search. By using n processors, its run...
متن کاملA Parallel Search Algorithm for the N - Queens ProblemAugust
The N-queens problem is to place n queens on an n n chessboard such that no two queens attack each other. This problem is commonly used as a benchmark for algorithms that solve constraint satisfaction problems (CSP). This paper describes a novel parallel algorithm for the N-queens problem. The algorithm nds a solution by performing a probabilistic parallel search. By using n processors, its run...
متن کاملA heuristic approach for multi-stage sequence-dependent group scheduling problems
We present several heuristic algorithms based on tabu search for solving the multi-stage sequence-dependent group scheduling (SDGS) problem by considering minimization of makespan as the criterion. As the problem is recognized to be strongly NP-hard, several meta (tabu) search-based solution algorithms are developed to efficiently solve industry-size problem instances. Also, two different initi...
متن کاملSolving the n-queens problem using a tuned hybrid imperialist competitive algorithm
The n-queens problem is a classical combinatorial optimization problem which has been proved to be NP-hard. The goal is to place n non-attacking queens on an n×n chessboard. In this paper, the Imperialist Competitive Algorithm (ICA), which is a recent evolutionary metaheuristic method, has been applied for solving the n-queens problem. As another variation, the ICA was combined with a local sea...
متن کاملEecient Local Search with Connict Minimization: a Case Study of the N-queens Problem 1
Backtracking search is frequently applied to solve a constraint-based search problem but it often suuers from exponential growth of computing time. We present an alternative to backtracking search: local search based on connict minimization. We have applied this general search framework to study a benchmark constraint-based search problem, the n-queens problem. An eecient local search algorithm...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- IEEE Trans. Systems, Man, and Cybernetics
دوره 21 شماره
صفحات -
تاریخ انتشار 1991